#include <iostream>
#include "UIIdentityManager.h"


UIIdentityManager::UIIdentityManager(void)
  : UIModule(MODULE_IdentityManager)
{

}

UIIdentityManager::~UIIdentityManager(void)
{
}

// virtual
bool UIIdentityManager::processSyncEvent(UIEvent* event)
{
	std::cout<< "IdentityManager: process sync event" << std::endl << event->serializeJson() << std::endl;
	return true;
}

//virtual
bool UIIdentityManager::processAsyncEvent(UIEvent* event)
{
#ifdef _DEBUG
	std::cout << "IdentityManager: process async event" << std::endl << event->serializeJson() << std::endl;
#endif
	return true;
}

bool UIIdentityManager::processData(UIEvent* event)
{
	return true;
}

//virtual
bool UIIdentityManager::cancel(void)
{
#ifdef _DEBUG
	std::cout << "IdentityManager: cancel" << std::endl;
#endif
	return true;
}
